#include <stdio.h>

void count_data(int *j,int *k)
{
	int buf[10];
	int m = 0;
	int len = sizeof(buf)/sizeof(buf[0]);
	for(m=0;m<len;m++)
	{
		scanf("%d",&buf[m]);
	}
	int i = 0;
	for(i=0;i<len;i++)
	{
		printf("buf[i]  %d",buf[i]);
		if(buf[i]%2 ==0 )
		{
			*j =*j + 1;
		}
		else if(buf[i]%2 != 0)
		{
			*k =*k + 1 ;
		}
	}
	return;
}

int main()
{
	int odd_number = 0;
	int even_number = 0;
	count_data(&even_number,&odd_number);
	printf("odd_number:  %d   even_number:  %d\n",odd_number,even_number);
}
